package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.kaili.common.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName("mdm_org")
public class MdmOrgEntity extends BaseEntity {
    @ApiModelProperty(name = "id", value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(name = "orgCode", value = "组织机构编号")
    private String orgCode;

    @ApiModelProperty(name = "orgName", value = "组织机构名称")
    private String orgName;

    @ApiModelProperty(name = "companyId", value = "所属公司")
    private Long companyId;

    @ApiModelProperty(name = "provinceId", value = "所属省份")
    private Long provinceId;

    @ApiModelProperty(name = "cityId", value = "所属城市")
    private Long cityId;

    @ApiModelProperty(name = "countyId", value = "所属区县")
    private Long countyId;

    @ApiModelProperty(name = "address", value = "详细地址")
    private String address;

    @ApiModelProperty(name = "status", value = "状态0删除1正常")
    private Integer status;

    @ApiModelProperty(name = "createName", value = "创建人")
    private String createName;
    
    @ApiModelProperty(name = "modifyName", value = "修改人")
    private String modifyName;
}
